package com.so.studyonline.model;


import java.sql.Timestamp;

public class SoUser {

    private long id;
    private String userNo;
    private String password;
    private String userName;
    private long userType;
    private long userSex;
    private String email;
    private String phone;
    private String tel;
    private String userRole;
    private String desc;
    private int theme;
    private String userImg;
    private String token;
    private java.sql.Timestamp addTime;
    private String coverImg;
    private String tags;

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getTheme() {
        return theme;
    }

    public void setTheme(int theme) {
        this.theme = theme;
    }

    public String getUserImg() {
        return userImg;
    }

    public void setUserImg(String userImg) {
        this.userImg = userImg;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Timestamp getAddTime() {
        return addTime;
    }

    public void setAddTime(Timestamp addTime) {
        this.addTime = addTime;
    }

    public String getCoverImg() {
        return coverImg;
    }

    public void setCoverImg(String coverImg) {
        this.coverImg = coverImg;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getUserRole() {
        return userRole;
    }

    public void setUserRole(String userRole) {
        this.userRole = userRole;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }


    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }


    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }


    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }


    public long getUserType() {
        return userType;
    }

    public void setUserType(long userType) {
        this.userType = userType;
    }


    public long getUserSex() {
        return userSex;
    }

    public void setUserSex(long userSex) {
        this.userSex = userSex;
    }


    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }


    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }


    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    @Override
    public String toString() {
        return "SoUser{" +
                "id=" + id +
                ", userNo='" + userNo + '\'' +
                ", password='" + password + '\'' +
                ", userName='" + userName + '\'' +
                ", userType=" + userType +
                ", userSex=" + userSex +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", tel='" + tel + '\'' +
                ", userRole='" + userRole + '\'' +
                '}';
    }

    public String toStringBy() {
        return id + "," + userNo + "," + userName + "," + userType + "," + userSex + "," + email + "," + phone + "," + tel + "," + userRole;
    }
}
